//
//  AppDelegate.m
//  nmrsc
//
//  Created by xumckay on 16/1/9.
//  Copyright © 2016年 bric. All rights reserved.
//

#import "AppDelegate.h"
#import "RootViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  
    self.window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
   
    [NSThread sleepForTimeInterval:3.0];
    
    _rootVC=[[RootViewController alloc]init];
    UINavigationController *rootNav=[[UINavigationController alloc]initWithRootViewController:_rootVC];
    rootNav.navigationBar.barTintColor=[UIColor whiteColor];
    self.window.rootViewController=rootNav;
    [self.window makeKeyAndVisible];
    
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
   
    
    
}

- (void)applicationDidEnterBackground:(UIApplication *)application {

    
    
}

- (void)applicationWillEnterForeground:(UIApplication *)application {

    
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application {
    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
